package com.car.dal.object;

import java.util.Date;

import com.car.annotation.DBField;
import com.car.annotation.DBTable;

@DBTable(tableName = "tg_leave", defaultSort = "id", defaultDir = "desc")
public class Leave {
	    @DBField(field = "id")
	    private Long id;
	    @DBField(field = "center_id")//训练中心
	    private Long center_id;
	    @DBField(field = "username")//人员
	    private String username;
	    @DBField(field = "type")//事假类型
	    private int type;
	    @DBField(field = "reson")//事由
	    private String reson;
	    @DBField(field = "apply_date")//申请日期
	    private Date apply_date;
	    @DBField(field = "start_date")//开始日期
	    private Date start_date;
	    @DBField(field = "end_date")//结束日期
	    private Date end_date;
	    @DBField(field = "entry_time")//入职日期
	    private Date entry_time;
	    @DBField(field = "note")//备注
	    private String note;
	    @DBField(field = "audit_result")//审批结果
	    private String audit_result;
	    @DBField(field = "create_time")//创建时间
	    private Date create_time;
	    
	    
	    private Long Firstrownum;
		private Long pagesize;
	    
		public Long getFirstrownum() {
			return Firstrownum;
		}
		public void setFirstrownum(Long firstrownum) {
			Firstrownum = firstrownum;
		}
		public Long getPagesize() {
			return pagesize;
		}
		public void setPagesize(Long pagesize) {
			this.pagesize = pagesize;
		}
		public Date getCreate_time() {
			return create_time;
		}
		public void setCreate_time(Date create_time) {
			this.create_time = create_time;
		}
		public Long getId() {
			return id;
		}
		public void setId(Long id) {
			this.id = id;
		}
		public Long getCenter_id() {
			return center_id;
		}
		public void setCenter_id(Long center_id) {
			this.center_id = center_id;
		}
		public String getUsername() {
			return username;
		}
		public void setUsername(String username) {
			this.username = username;
		}
		public Date getEntry_time() {
			return entry_time;
		}
		public void setEntry_time(Date entry_time) {
			this.entry_time = entry_time;
		}
		public void setType(int type) {
			this.type = type;
		}
		
		
		public int getType() {
			return type;
		}
		public String getReson() {
			return reson;
		}
		public void setReson(String reson) {
			this.reson = reson;
		}
		public Date getApply_date() {
			return apply_date;
		}
		public void setApply_date(Date apply_date) {
			this.apply_date = apply_date;
		}
		public Date getStart_date() {
			return start_date;
		}
		public void setStart_date(Date start_date) {
			this.start_date = start_date;
		}
		public Date getEnd_date() {
			return end_date;
		}
		
		public void setEnd_date(Date end_date) {
			this.end_date = end_date;
		}
	
		public String getNote() {
			return note;
		}
		public void setNote(String note) {
			this.note = note;
		}
		public String getAudit_result() {
			return audit_result;
		}
		public void setAudit_result(String audit_result) {
			this.audit_result = audit_result;
		}
}
